#include "cccComboBreaker.h"

cccComboBreaker::cccComboBreaker()
{

}
cccComboBreaker::cccComboBreaker(photon *_p, double _d)
{
	p = _p;
	d = _d;
}
cccComboBreaker::~cccComboBreaker()
{
}
cccComboBreaker & cccComboBreaker::operator=( const cccComboBreaker &other )
{
	this->p = other.p;
	this->d = other.d;
	return *this; 
}
bool cccComboBreaker::operator==( const cccComboBreaker &other )
{
	if ( this->d == other.d)
		return true;
	else 
		return false;
}
bool cccComboBreaker::operator!=( const cccComboBreaker &other )
{
	if ( this->d == other.d)
		return false;
	else 
		return true;
}
bool cccComboBreaker::operator>( cccComboBreaker &other )
{
	if (this->d > other.d)
		return true;
	else
		return false;
}
bool cccComboBreaker::operator<( cccComboBreaker &other )
{
	if (this->d < other.d)
		return true;
	else
		return false;
}
bool cccComboBreaker::operator>=( cccComboBreaker &other )
{
	if (this->d >= other.d)
		return true;
	else
		return false;
}
bool cccComboBreaker::operator<=( cccComboBreaker &other )
{
	if (this->d <= other.d)
		return true;
	else
		return false;
}